<!DOCTYPE html>
<html xmlns:wicket="http://wicket.apache.org">
<body wicket:id="iris">
<script src="res/media/js/table-editable.js"></script>
<script type="text/javascript" src="res/media/js/jquery.dataTables.js"></script>
<style>
    .modal-body {
        max-height: 500px !important;
    / / 7 列 的 高 度
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0px
    }

    .btn {
        padding: 2px 10px !important;
    }

    .dropdown-menu {
        min-width: 70px !important;
    }

    .portlet-body .btn-group {
        margin-bottom: 0px !important;
    }
</style>
<div id="portlet-config" class="modal hide">
    <div class="modal-header">
        <button data-dismiss="modal" class="close" type="button"></button>
        <h3>Widget Settings</h3>
    </div>
    <div class="modal-body">
        Widget settings form goes here
    </div>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <!-- begin-->
        <div class="span12">

            <h3 class="page-title">

                <small></small>
            </h3>
            <ul class="breadcrumb">
                <li>
                    <i class="icon-home"></i>
                    <a href="../../home/">首页</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li>
                    <i class="icon-cogs"></i>
                    <a href="#">系统管理</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li><a href="#">角色管理</a></li>
            </ul>

        </div>
        <!--end -->
    </div>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="portlet box blue">
                <div class="portlet-title">
                    <div class="caption"><i class="icon-edit"></i>角色管理</div>
                    <div class="tools"></div>
                </div>

                <div class="portlet-body">

                    <!--ajax弹出层提交表单 开始-->
                    <div class="clearfix" aria-hidden="true">


                        <!-- <div id="form_modal2" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">

                             <div class="modal-header portlet-title">

                                 <button wicket:id="reset_salesman_1" type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>

                                 <h3 id="myModalLabel2"><label wicket:id="pageName1"></label><label wicket:id="pageName2"></label></h3>

                             </div>

                             <div class="modal-body">

                                 <form wicket:id="add_salesman_form" class="form-horizontal">

                                     <div class="control-group">

                                         <label class="control-label">真实姓名</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="name" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">登录账号</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="loginName" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">密码</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="password" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">确认密码</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">邮箱</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="email" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">性别</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="sex" size="16" type="text" value="" />

                                         </div>

                                     </div>

                                     <div class="control-group">

                                         <label class="control-label">分销商</label>

                                         <div class="controls">

                                             <input class="m-wrap m-ctrl-medium date-picker" wicket:id="distributor" size="16" type="text" value="" />

                                         </div>

                                     </div>


                                     <div class="modal-footer">

                                         <button class="btn green btn-primary" wicket:id="submit_button" data-dismiss="modal" aria-hidden="true">保存</button>

                                         <button class="btn" wicket:id="reset_salesman_2" data-dismiss="modal">取消</button>

                                     </div>

                                 </form>

                             </div>
                         </div>-->
                        <div class="btn-group">
                            <div class="control-group">

                                <label class="control-label"></label>

                                <div class="controls">

                                    <!--<a  class="btn yellow"  href="#form_modal2"  data-toggle="modal">-->
                                    <a class="btn green" data-toggle="modal">

                                        新增<i class="icon-share"></i>

                                    </a>

                                </div>

                            </div>
                        </div>
                    </div>
                    <!--ajax弹出层提交表单 结束-->

                    <table class="table table-striped table-hover table-bordered" id="sample_editable_1">
                        <thead>
                        <tr>
                            <th>角色名</th>
                            <th class="hidden-480">权限</th>
                            <th class="hidden-480" style="width: 40px!important;">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr class="" wicket:id="fileRows">
                            <td><span wicket:id="name"></span></td>
                            <td><span wicket:id="permissions"></span></td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn black" href="#" data-toggle="dropdown">
                                        <i class="icon-edit"></i> 更多
                                        <i class="icon-angle-down"></i>
                                    </a>
                                    <ul class="dropdown-menu">
                                        <li><a href="#">编辑</a></li>
                                        <li><a class="delete" href="#">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
